//
// Created by 86156 on 25-8-27.
//

#ifndef VIEW_DRIVER_H
#define VIEW_DRIVER_H


#define View_RxBufferSize 5
#define View_TxBufferSize 5

#include <stdint.h>
#include "gyro.h"
// typedef struct {
//     float X_Measure
// };
extern uint8_t View_RxBuffer[View_RxBufferSize];
extern uint8_t View_TxBuffer[View_TxBufferSize];
extern uint8_t ProcessFlag;
extern uint8_t View_Connected;

extern uint8_t left_right_flag;
extern uint8_t up_down_flag;
extern uint8_t forward_back_flag;


void View_Init();

void View_Decode(uint8_t *buf, uint16_t len);

#endif //VIEW_H
